package com.zhixiang.xaec.service.performance.safeachievements.impl;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.performance.safeachievements.InternalAchivingDao;
import com.zhixiang.xaec.entity.performance.safeachievements.InternalAchiving;
import com.zhixiang.xaec.service.performance.safeachievements.InternalAchivingService;

@Service
public class InternalAchivingServiceImpl extends BaseServiceImpl<InternalAchiving, Long> implements 
InternalAchivingService{

    @Override
    @Resource(type=InternalAchivingDao.class)
    public void setBaseDao(BaseDao<InternalAchiving, Long> dao) {
        setDao(dao);
        
    }
    @Override
    public String delete(String[] ids) {
        for(String id:ids){
            getDao().remove(Long.valueOf(id));
        }
        return null;
    }

}